<form id="usersForm" action="<c:url value="/users"/>" method="POST">
	<fieldset>
		<legend>Create new User</legend>
		<label for="name">Name:</label>
			<input id="name" class="required" type="text" name="user.name" value="${user.name }" />
			
		<label for="login">Login:</label>
			<input id="login" class="required" type="text" name="user.login" value="${user.login }" />
		
		<label for="password">Password:</label>
			<input id="password" class="required" type="password" name="user.password" />
		
		<label for="repeatPass">Repeat password:</label>
			<input id="repeatPass" equalTo="#password" type="password" />
		
		<button type="submit">Enviar</button>
	</fieldset>
</form>

<script type="text/javascript">
	$('#usersForm').validate();
</script>